<!--
 * @Author: cest
 * @Date: 2022-07-09 16:00:21
 * @LastEditTime: 2022-07-14 21:18:04
 * @LastEditors: cest
 * @FilePath: /uni-app-cli/src/h5.template.html
 * @Description: h5 模板
-->
<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <script>
      var coverSupport =
        'CSS' in window &&
        typeof CSS.supports === 'function' &&
        (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
      document.write(
        '<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' +
          (coverSupport ? ', viewport-fit=cover' : '') +
          '" />'
      )
    </script>
    <title><%= htmlWebpackPlugin.options.title %></title>
    <script>
      var UA = window.navigator.userAgent.toLowerCase()
      var isAndroid = UA.indexOf('android') > 0
      var isIOS = /iphone|ipad|ipod|ios/.test(UA)
      if (!(isAndroid || isIOS)) {
        // 正式发布的时候使用，开发期间不启用。
        // window.location.href = '/demo/news/website/pcguide.html';
      }
    </script>
    <link rel="stylesheet" href="<%= BASE_URL %>static/index.css" />
  </head>
  <body>
    <!-- 该文件为 H5 平台的模板 HTML，并非应用入口，请勿直接运行此文件。 -->
    <!-- 详见文档：https://uniapp.dcloud.io/collocation/manifest?id=h5-template -->
    <noscript>
      <strong>Please enable JavaScript to continue.</strong>
    </noscript>
    <div id="app"></div>
    <!-- built files will be auto injected
		<script>
			var _hmt = _hmt || [];
			(function() {
				var hm = document.createElement("script");
				hm.src = "https://hm.baidu.com/hm.js?fe3b7a223fc08c795f0f4b6350703e6f";
				var s = document.getElementsByTagName("script")[0];
				s.parentNode.insertBefore(hm, s);
			})();
		</script>
    -->
  </body>
</html>
